package com.dr.service;

import com.dr.exception.ServiceExcep;
import com.dr.pojo.SysUser;

/**
 * Created by tugou on 2017/4/23.
 * 后台系统登录服务
 */
public interface SysLoginService {
    /**
     * 根据登录信息获取系统用户
     * @param user
     * @return
     */
    SysUser getSysUserByLoginInfo(SysUser user) throws ServiceExcep;

    /**
     * 保存系统用户数据
     * @param user
     */
    void saveSysUser(SysUser user) throws ServiceExcep;
}
